package cn.gok.hotelback.entity;

public class User {
    private Integer userId;
    private String username;
    private String password;
    private String realName;
    private String phone;
    private String idCard;
    private float balance;
    private Integer level; // 1~8会员，9管理员
    
    // Getters
    public Integer getUserId() { return userId; }
    public String getUsername() { return username; }
    public String getPassword() { return password; }
    public String getRealName() { return realName; }
    public String getPhone() { return phone; }
    public String getIdCard() { return idCard; }
    public float getBalance() { return balance; }
    public Integer getLevel() { return level; }
    
    // Setters
    public void setUserId(Integer userId) { this.userId = userId; }
    public void setUsername(String username) { this.username = username; }
    public void setPassword(String password) { this.password = password; }
    public void setRealName(String realName) { this.realName = realName; }
    public void setPhone(String phone) { this.phone = phone; }
    public void setIdCard(String idCard) { this.idCard = idCard; }
    public void setBalance(float balance) { this.balance = balance; }
    public void setLevel(Integer level) { this.level = level; }
} 